<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
	<title>ajax</title>
</head>
<body>


	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript">
		
		$.get('student.txt',function(res){

			var student = JSON.parse(res);
			console.log(student.name);

		});
	</script>

</body>
</html>